#include "PreCompile.h"
#include "exception.h"

namespace Xml 
{
  Exception::Exception(const Glib::ustring& message)
    : message_(message)
  {
  }

  Exception::~Exception() throw()
  {
  }

  const char* Exception::what() const throw()
  {
    return message_.c_str();
  }

  void Exception::Raise() const
  {
    throw *this;
  }

  Exception * Exception::Clone() const
  {
    return new Exception(*this);
  }
}

